home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-04
/
422mods.zip
/
MJW1.422
< prev
next >
Wrap
Text File
|
1993-04-08
|
4KB
|
92 lines
MJW1.MOD
Avenger #1 @6494
Sun Apr 04 13:34:16 1993
┌───────────────────────────────────────────────────────────────────────────┐
│ Mod Name: MJW01.MOD Mod Author: Avenger @6494 WWIVNet, IceNET │
│ Difficulty: Simple Block Copy Date: April 4,1992 │
│ WWIV Version: 4.22 │
│ Files Affected: BBSUTL.C │
│ Description: Better looking "Yourinfo" with boxed outline │
└───────────────────────────────────────────────────────────────────────────┘
DESCRIPTION...
Put's user's information inside of a box.
DISCLAIMER...
Works on Michael's Madness... If something goes wrong and it makes
you feel better, blame me. Please back up your source code just in case.
I usually do a "pkzip -f source *.c *.h *.mak" to freshen all the
important files.
Step One...
Go into BBSUTL.C, and search for "VOID YOURINFO" and either delete the
entire void or comment it out.
Step Two...
Block read this VOID YOURINFO in place of it and join the lines that were
split due to being over 80 characters long.
/* ****Begin Block Copy Here MJW1.mod 04/04/92**** */
void yourinfo(void)
{
outchr(12);
if (okansi()){
nl();nl();nl();
pl("2 Your Information presented by");0
pl("1 Michael's Madness"); /*Change to the 0
name of your board*/
pl("3 ╒═════════════════╤════════════════════╕"); /* c0
hange the colors to your liking */
npr("3 │9 Alias 3│7 %-18s3│\r\n",nam(&thisuser,0
usernum)); /* by changing the numbers */
npr("3 │9 Real Name 3│7 %-18s3│\r\n",thisuser.realn0
ame); /* after the hearts */
npr("3 │9 Voice Phone 3│7 %-18s3│\r\n",thisuser.phone0
);
npr("3 │9 Data Phone 3│7 %-18s3│\r\n",thisuser.datap0
hone);
npr("3 │9 Security Level 3│7 %-18d3│\r\n",thisuser.sl,ac0
tsl);
npr("3 │9 Last On 3│7 %-18s3│\r\n",thisuser.lasto0
n);
npr("3 │9 Times On 3│7 %-18d3│\r\n",thisuser.logon0
s);
npr("3 │9 On Today 3│7 %-18d3│\r\n",thisuser.ontod0
ay);
npr("3 │9 Mail Waiting 3│7 %-18d3│\r\n",thisuser.waiti0
ng);
npr("3 │9 E-Mail Sent 3│7 %-18d3│\r\n",0
(thisuser.emailsent+thisuser.feedbacksent+thisuser.emailnet));
npr("3 │9 Messages Posted 3│7 %-18d3│\r\n",thisuser.msgpo0
st);
npr("3 │9 Total Time On 3│7 %-18ld3│\r\n",(long)0
((thisuser.timeon+timer()-timeon)/60.0));
pl("3 ╘═════════════════╧════════════════════╛");0
nl();
pausescr();
outchr(12);
}
}
/* ********End Of Block Copy******** */
Feel free to change the colors to your liking. If you don't have a mod in
that lets you have the two extra colors, you'll not be able to use colors
8 or 9.
Step Three...
Type "MAKE", copy the new version of "BBS.EXE" to the board's directory
and enjoy.
Please address comments, questions and sugestions to:
Avenger @6494 IceNET, WWIVNet. All corespondence would be
greatly appreciated. Please drop a note if you use this mod.